package com.scaffold;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.ModelAttribute;


public class BasicBizWebAction extends BasicBizAction {
	
	@ModelAttribute
	public void setReqAndRes(HttpServletRequest request, HttpServletResponse response){  
//		this.response = response;
//		this.request = request;
	}
	
	protected String getJsCallBack(String jscallback, Object data){
		this.getRequest().setAttribute("jscallback", jscallback);
		this.getRequest().setAttribute("jsonMap", data);
		return "commons/jscallback.vm";
	}
	
}
